package com.tgy.crud.service;

import com.tgy.crud.domain.User;

public interface SendMessageService {

    //发送邮件
    void sendEmail(User user);
    //发送短信
    void sendMessage(User user);

    void sendAMQPMessage(String exchange, String routingKey, final Object object);
}
